package test1;
public class Frogg implements IAnimal {
        public void talk() {
                System.out.println("Frogg - Frogg");
        }
        public boolean couldEat(Object eat) {
                if (eat instanceof Dog) {
                        return true;
                } else {
                        return false;
                }
        }
}
